<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>snabbdom-sample</title>
    <style>
        .info-box{
            margin: 0;
            margin-top: 10px;
            padding: 0;
            list-style: none;
        }
        .info-item{
            padding: 10px 0px;
            cursor: pointer;
            border: 1px solid #eee;
            border-radius: 5px;
        }
        .info-item:not(:first-child){
            margin-top: 10px;
        }
        .active{
            background-color: rgb(247, 192, 109);
            color: #fff;
        }
        .active > * {
            color: #fff !important;
        }
        .sortBtn{
            padding: 3px 10px;
            border-radius: 5px;
            outline: none;
            background-color: #fff;
            border: 1px solid #999;
            margin-right: 10px;
        }
        .sortBtn:active{
            background-color: #eee;
        }
        .title{
            margin: 0;
            border-bottom: 1px solid #eee;
            padding: 0 10px 5px 10px;
            font-weight: bold;
            position: relative;
        }
        .content{
            color: #666;
            font-size: 14px;
            padding: 5px 10px;
        }
        .info{
            color: #666;
            font-size: 12px;
            display: flex;
            justify-content: space-between;
            padding: 0 10px;
        }

        .delBtn{
            position: absolute;
            right: 10px;
            top: -5px;
            width: 25px;
            height: 25px;
            border: 1px solid #eee;
            border-radius: 50%;
            background-color: transparent;
            color: #999;
        }
        .delBtn:hover{
            background-color: rgb(255, 130, 130);
            color: #fff;
        }
    </style>
    <script type="module" src="./index.js"></script>
</head>
<body>
    <div id="app"></div>
</body>
</html>